-- GENERATED SPELL FOR [Scarlet Myrmidon] --


function spell0_4295(pUnit, Event) --@Frenzy,Self--
pUnit:FullCastSpellOnTarget(8269,pUnit)
pUnit:RegisterEvent('Sorts_4295', 568, 1)
end

function Sorts_4295(pUnit, Event)
local choix_sorts_4295 = math.random(0, 0)
if choix_sorts_4295 == 0 then
pUnit:RegisterEvent('spell0_4295', 1, 1)
end
end

function mob4295_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4295', math.random(1500, 3000), 1)
end

function mob4295_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4295_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4295_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4295, 1, 'mob4295_Action')
RegisterUnitEvent(4295, 2, 'mob4295_Leave')
RegisterUnitEvent(4295, 3, 'mob4295_Kill')
RegisterUnitEvent(4295, 4, 'mob4295_Die')
